package com.springboot.ww.platform.pd.lms.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-08-17 10:56
 */
@NoArgsConstructor
@Data
public class PdSkuPriceResp {

    @JsonProperty("productSkuSupplierPriceList")
    private List<ProductSkuSupplierPriceListDTO> productSkuSupplierPriceList;

    @NoArgsConstructor
    @Data
    public static class ProductSkuSupplierPriceListDTO {
        @JsonProperty("currencyType")
        private String currencyType;
        @JsonProperty("productSkuId")
        private String productSkuId;
        @JsonProperty("productId")
        private Long productId;
        @JsonProperty("siteSupplierPrices")
        private List<SiteSupplierPricesDTO> siteSupplierPrices;
        @JsonProperty("supplierPrice")
        private BigDecimal supplierPrice;
        @JsonProperty("productSkcId")
        private Long productSkcId;

        @NoArgsConstructor
        @Data
        public static class SiteSupplierPricesDTO {
            @JsonProperty("priceReviewStatus")
            private Object priceReviewStatus;
            @JsonProperty("siteId")
            private Integer siteId;
            @JsonProperty("supplierPrice")
            private BigDecimal supplierPrice;
        }
    }
}
